package com.ruoyi.business.domain.vo;

import com.mybatisflex.annotation.*;
import com.ruoyi.business.domain.BankCard;
import com.ruoyi.business.domain.Project;
import com.ruoyi.business.domain.ProjectDetail;
import lombok.Data;

import java.util.List;

/**
 * 数据实体  : 工单明细 VO
 * @Author  : ljq
 * @Created : 2025/10/12
 */
@Data
public class ProjectDetailVO extends ProjectDetail {

    @RelationOneToOne(
            selfField = "projectId", targetTable = "t_project", targetField = "id"

    )
    Project project = new Project();

    @RelationOneToOne(
            selfField = "bankCardId", targetTable = "t_bank_card", targetField = "id"
    )
    private BankCardVO bankCard = new BankCardVO();

}